import { Address, Boolean, CardId, Code, CreateDate, Entity, Image, MemberId, PrimaryUuid, SysUserId, UpdateDate, Uuid } from "@sker/core";

@Entity({ name: 'kd_agent_user' })
export class KdAgentUser {
    @PrimaryUuid()
    id: string;

    @Uuid({ comment: '加盟商ID' })
    agent_id: string;

    @SysUserId({ comment: '绑定会员' })
    user_id: string;

    @CardId({ comment: '身份证号' })
    card_id: string;

    @Image({ comment: '身份证正面' })
    card_image: string;

    @Image({ comment: '身份证反面' })
    card_image2: string;

    @Boolean({ comment: '是否实名' })
    is_true: boolean;

    @Address({ comment: '联系地址' })
    address: string;

    @Code({ comment: '账号状态' })
    status: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}